package cn.itcast.hotel.constants;

public class HotelConstants {
    public static final String MAPPING_TEMPLATE = "{\n" +
            "  \"mappings\": {\n" +
            "    \"properties\": {\n" +
            "      \"score\": { \"type\": \"integer\" },\n" +
            "      \"address\": { \"type\": \"keyword\" },\n" +
            "      \"business\": { \"type\": \"keyword\" },\n" +
            "      \"city\": { \"type\": \"keyword\" },\n" +
            "      \"price\": { \"type\": \"integer\" },\n" +
            "      \"starName\": { \"type\": \"keyword\" },\n" +
            "      \"name\": { \"type\": \"text\", \"analyzer\": \"ik_max_word\" },\n" +
            "      \"location\": { \"type\": \"geo_point\" },\n" +
            "      \"id\": { \"type\": \"keyword\" },\n" +
            "      \"pic\": { \"type\": \"keyword\" },\n" +
            "      \"brand\": { \"type\": \"keyword\" }\n" +
            "    }\n" +
            "  }\n" +
            "}";

}
